Add 3.16 deprecation macros too
authorMatthias Clasen <mclasen@redhat.com>
Tue, 30 Sep 2014 04:03:25 +0000 (00:03 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 30 Sep 2014 04:03:25 +0000 (00:03 -0400)
gdk/gdkversionmacros.h.in

index df4fe19fe2b7f3107bdc18a849b45231f0f91f52..7bf503ddc3b0469c5532c98f7b893ef6482b3b1c 100644 (file)
 # define GDK_AVAILABLE_IN_3_14                _GDK_EXTERN
 #endif
 
+#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_16
+# define GDK_DEPRECATED_IN_3_16               GDK_DEPRECATED
+# define GDK_DEPRECATED_IN_3_16_FOR(f)        GDK_DEPRECATED_FOR(f)
+#else
+# define GDK_DEPRECATED_IN_3_16               _GDK_EXTERN
+# define GDK_DEPRECATED_IN_3_16_FOR(f)        _GDK_EXTERN
+#endif
+
 #if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_16
 # define GDK_AVAILABLE_IN_3_16                GDK_UNAVAILABLE(3, 16)
 #else